package net.zhengxinyun.performance.service.exam.answer;

import net.zhengxinyun.performance.entity.AnswerEntity;
import net.zhengxinyun.performance.entity.UserEntity;
import net.zhengxinyun.performance.filter.AnswerFilter;

import java.util.List;

public interface AnswerService {
    List<AnswerFilter> query(AnswerFilter filter);
    int queryForCount(AnswerFilter filter);
    int save(List<AnswerEntity> entity, UserEntity userEntity);
    int saveCache(AnswerEntity entity);
    int update(AnswerEntity entity);
    int deleteByPrimaryKey(Long examId);
    int updateCache(AnswerEntity entity);
    AnswerEntity selectCahche(AnswerEntity entity);

}
